package com.tamll.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data

public class Product implements Serializable {
    private Integer productId;
    private String productName;
    private String productTitle;
    private Float productPrice;
    private Float productSalePrice;
    private String productCreateDate;
    private Integer productCategoryId;
    @TableField("product_isEnabled")
    private Integer productIsEnabled;
    private Integer productSaleCount;
    private Integer productReviewCount;
    @TableField(exist = false)
    private List<PropertyValue> propertyValueList/*产品属性值集合*/;
    @TableField(exist = false)
    private List<ProductImage> singleProductImageList/*产品预览图片集合*/;
    @TableField(exist = false)
    private List<ProductImage> detailProductImageList/*产品详细图片集合*/;
    @TableField(exist = false)
    private List<Review> reviewList/*产品评论集合*/;
    @TableField(exist = false)
    private List<ProductOrderItem> productOrderItemList/*产品订单项集合*/;
}
